<?php
require_once("page.php");

$eng->Info = TRUE;

//------------------------------------------------------------
// Set some values into the template engine
//------------------------------------------------------------
$eng->assign("PageTitle", "RadTemplate");
$eng->assign("PageSubTitle", "Example 7 - Iteration using ForArray");
$eng->assign("Login", rand(1, 8));

//------------------------------------------------------------
// Declare the Top Five Reasone Array
//------------------------------------------------------------
$arrTopFive= array("Fast", "Flexible", "Extensible", "Powerful", "Free");
$arrTopTwo= array("Fast2", "Flexible2");

$eng->assign("ListMessage", "Top Five Reasons to use RadTemplate (ForArray)");


//------------------------------------------------------------
// Put Array into values Collection
//------------------------------------------------------------
$eng->assign("TopFive", $arrTopFive);
$eng->assign("TopTwo", $arrTopTwo);


//------------------------------------------------------------
// Load the template and Generate Ouput
//------------------------------------------------------------
$eng->show("tpl/test07.html");
?>